package com.tanhua.dubbo.api.mongo;

import com.tanhua.domain.mongo.Friend;
import com.tanhua.vo.PageResult;

import java.util.List;

public interface FriendApi {

    public void save(Long userId,Long friendId);

    PageResult contactsListByUserId(Integer page, Integer pagesize, Long userId);

    Friend findOne(Long userId, Long friendId);

    void delete(Long userId, Long friendId);


    Boolean queryAllLike(Long userId, long longValue);
}
